package com.league.blog.pojo;

import java.io.Serializable;

public class ArticleWithBLOBs extends Article implements Serializable {
    private String articleContent;

    private String articleHtmlContent;

    public String getArticleContent() {
        return articleContent;
    }

    public void setArticleContent(String articleContent) {
        this.articleContent = articleContent == null ? null : articleContent.trim();
    }

    public String getArticleHtmlContent() {
        return articleHtmlContent;
    }

    public void setArticleHtmlContent(String articleHtmlContent) {
        this.articleHtmlContent = articleHtmlContent == null ? null : articleHtmlContent.trim();
    }

    public ArticleWithBLOBs() {}

    public void update(ArticleWithBLOBs param) {
        this.setArticleTitle(param.getArticleTitle());
        this.articleContent = param.getArticleContent();
        this.articleHtmlContent = param.getArticleHtmlContent();
    }


}